home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / tegl_c.exe / SAMPROGS.ZIP / SAMC0418.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-13  |  460 b   |  30 lines

  1. /* samc04018.c */
  2.  
  3. #include "teglsys.h"
  4.  
  5.  
  6. void main()
  7.   {
  8.     imagestkptr fs;
  9.  
  10.     easytegl();
  11.  
  12.     pushimage(1,1,100,100);
  13.     shadowbox(1,1,100,100);
  14.     fs = stackptr;
  15.  
  16.     pushimage(50,50,150,150);
  17.     shadowbox(50,50,150,150);
  18.  
  19.     showmouse();
  20.     while(mouse_buttons == 0);
  21.  
  22.     hideimage(fs);
  23.     unlinkfs(fs);
  24.     linkfs(fs,stackptr);
  25.     showimage(fs,fs->x,fs->y);
  26.  
  27.     while(mouse_buttons == 0);
  28.     abort_msg("");
  29.   }
  30.